package xhwl.retrofitrx;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;

import pl.droidsonroids.gif.GifImageView;


public class LoadingDialogV3 extends Dialog {
	private Context mContext;
	GifImageView gifView;
	public LoadingDialogV3(Context context) {
		super(context,R.style.loadingDialogV3);
		mContext=context;
//		setCancelable(false);
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		LayoutInflater inflater = LayoutInflater.from(mContext);
		View view = inflater.inflate(R.layout.dialog_loading_v3, null);
		setContentView(view);
		gifView= (GifImageView) findViewById(R.id.gifView);

	}

}
